package oop.ex3.crosswords;

public class MyCrosswordPosition implements CrosswordPosition {
	
	private boolean isVertical;
	
	private int x;
	
	private int y;
	
	
	
	public MyCrosswordPosition(int x, int y, boolean isVertical){
		this.isVertical=isVertical;
		this.x=x;
		this.y=y;
	}
	
	@Override
	public int getX() {		
		return this.x;
	}

	@Override
	public int getY() {
		return this.y;
	}

	@Override
	public boolean isVertical() {
		return isVertical;
	}

}
